package com.qijian.flowable.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.qijian.common.annotation.Excel;
import com.qijian.common.core.domain.BaseEntity;

/**
 * 流程矩阵对象 t_flowable_matrix
 *
 * @author qijian
 * @date 2022-02-08
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ToString
@TableName("t_flowable_matrix")
public class Matrix extends BaseEntity{
    private static final long serialVersionUID = 1L;

    /** 矩阵id */
    @JsonSerialize(using= ToStringSerializer.class)
    @ApiModelProperty(value = "矩阵id")
    @TableId
    private Long matrixId;

    /** 名称 */
    @Excel(name = "名称")
    @ApiModelProperty(value = "名称")
    private String name;

    /** 描述 */
    @Excel(name = "描述")
    @ApiModelProperty(value = "描述")
    private String description;

}
